package com.zzyl.nursing.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * TODO
 *
 * @Date 2025/10/31 14:54
 */
@Data
public class NursingTaskDto {





        private Long id;

        private String bedNumber;

        private String cancelReason;

        private Long createBy;

        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private LocalDateTime createTime;

        private Long elderId;

        private String elderName;

        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private LocalDateTime estimatedServerTime;

        private String mark;

        private String nurseId;

        private Integer projectId;

        private String projectName;

        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private LocalDateTime realServerTime;

        private String remark;

        /**
         * 状态：1 待执行，2 已执行，3 已关闭
         */
        private Integer status;

        private String taskImage;

        private Long updateBy;

        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private LocalDateTime updateTime;

        private Integer taskType;

        @TableField(exist = false)
        private LocalDateTime endtime;

        @TableField(exist = false)
        private String[] nursingName;

        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @TableField(exist = false)
        private LocalDateTime startTime;

        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @TableField(exist = false)
        private LocalDateTime endTime;
    }


